package com.lemon.domain.dto;

import com.lemon.domain.Sku;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SpuDto {
    @Schema(title = "商品ID")
    private Integer id;

    @Schema(title = "商品标题")
    private String title;

    @Schema(title = "副标题")
    private String subTitle;

    @Schema(title = "分类ID3")
    private Integer categoryId3;

    @Schema(title = "商品描述")
    private String description;

    @Schema(title = "商品详情")
    private String content;

    @Schema(title = "品牌ID")
    private Integer brandId;

    @Schema(title = "供应商ID")
    private Integer supplierId;

    private List<Sku> children;

    private String categoryName;

    private String supplierName;
}
